package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingprojectMapper {
     Page<NursingProject> queryPage(String name, Integer status);

     int addNursingProject(NursingProject nursingProject);

     NursingProject getNursingProject(Long id);

     int updateNursingProject(NursingProject nursingProject);

     int updateStatus(Long id, Integer status);

     int deleteNursingProject(Long id);

     List<NursingProjectVo> getall();
}
